﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class registro : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }

    protected void DdlTipoCuenta_SelectedIndexChanged(object sender, EventArgs e)
    {
        if (DdlTipoCuenta.SelectedValue == "ns")
        {
            DvDatosPersonales.Style["display"] = "none";
            DvAlumno.Style["display"] = "none";
            DvUsuario.Style["display"] = "none";
            return;
        }

        if (DdlTipoCuenta.SelectedValue == "Al")
        {
            DvDatosPersonales.Style["display"] = "none";
            DvAlumno.Style["display"] = "";
            DvUsuario.Style["display"] = "none";
            return;
        }

        if (DdlTipoCuenta.SelectedValue == "In")
        {
            DvDatosPersonales.Style["display"] = "";
            DvAlumno.Style["display"] = "none";
            DvUsuario.Style["display"] = "";
            return;
        }
    }
  
    protected void BtCrearUsuario_Click(object sender, EventArgs e)
    {

    }
}